home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!JAMESCHA
- From: jamesch@ix.netcom.com (James Chamblin)
- Newsgroups: comp.sys.cbm
- Subject: Re: Help: Basic and ML
- Date: 24 Jan 1996 20:11:25 GMT
- Organization: Netcom
- Message-ID: <4e63pd$kin@reader2.ix.netcom.com>
- References: <31028422.783F@itr.qc.ca> <DLLvnI.KKI.0.sheppard@torfree.net>
- NNTP-Posting-Host: ix-orl2-24.ix.netcom.com
- X-NETCOM-Date: Wed Jan 24 12:11:25 PM PST 1996
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <DLLvnI.KKI.0.sheppard@torfree.net>,
- fjb@torfree.net (Jim Butterfield) wrote:
- >Christian Lambert (Christian_Lambert@itr.qc.ca) wrote:
- >: --
- >
- >: AlainLambert
- >: INTERNET Trois-Rivieres inc. * Site Web : http://www.itr.qc.ca
- >: Email: christian@itr.qc.ca
- >
- >
- >: I need to poke some ML data at the end of basic and I do not
- remember
- >: how that is done. It has to do with location 55 and 56.
- >: Can anyone give me an example code so I can poke my code after basic
- and
- >: SYS to the address.
- >: Email please
- >
- > Yes, I know you said EMail ... but then, how will others know if you
- >got an answer or not?
- > Your question is hard to follow. Do you want to poke some ML data
- >_from_ the end of Basic to somewhere else, or to poke some ML data
- _to_
- >the end of Basic?
- > The pointer you mention (at 55/56) is, on the 64, the top-of-memory
- >pointer. So perhaps you want to copy stuff from end-of-Basic to top
- of
- >memory?
- > Adresses 45 and 46 on the C64 point to the space directly behind the
- >Basic program. But you'd better be careful if you want to meddle with
- >this, since the first variable you use will be plunked at that address
- >(unless you change it before use).
- > Maybe you can be more specific?
- > --Jim
- >
-
- He's probably talking about poking data at the end of BASIC memory.
- Just poke 55,56 with the highest address you want BASIC to use (just
- below your data) and do a CLR to reset some internal pointers. That's
- all there is.
-